package com.jf.cloud.service.sysmanager.entity;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * <p>
 * 角色
 * </p>
 *
 * @author LangK
 * @since 2017-12-04
 */
@Entity
@Table(name="sys_role_type")
public class SysRoleType extends BaseEntity {

    private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "ROW_ID")
	private Long rowId;
	
	/**
	* 角色类型
	*/
	@Column(name = "ROLE_TYPE")
	private String roleType;
	
	/**
	 * 角色说明
	 */
	@Column(name = "ROLE_REMARK")
	private String roleRemark;

	/**
	 * 删除标记
	 */
	@Column(name = "DEL_FLAG")
	private Integer delFlag;


	/**
	 * 获取主键
	 * 
	 * @return 主键
	 */
	public Long getRowId() {
		return rowId;
	}

	/**
	 * 设置主键
	 * 
	 * @param rowId 主键
	 */
	public void setRowId(Long rowId) {
		this.rowId = rowId;
	}


	public String getRoleType() {
		return roleType;
	}

	public void setRoleType(String roleType) {
		this.roleType = roleType;
	}
	
	/**
	 * 获取角色说明
	 * 
	 * @return 角色说明
	 */
	public String getRoleRemark() {
		return roleRemark;
	}

	/**
	 * 设置角色说明
	 * 
	 * @param roleRemark 角色说明
	 */
	public void setRoleRemark(String roleRemark) {
		this.roleRemark = roleRemark;
	}

	/**
	 * 获取删除标记
	 * 
	 * @return 删除标记
	 */
	public Integer getDelFlag() {
		return delFlag;
	}

	/**
	 * 设置删除标记
	 * 
	 * @param delFlag 删除标记
	 */
	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}

	@Override
	public String toString() {
		return "SysRole{" +
			"roleName=" + roleType +
			", roleRemark=" + roleRemark +
			", delFlag=" + delFlag +
			"}";
	}
}
